home *** CD-ROM | disk | FTP | other *** search
- /* $VER: HTMLEXT Modul: imageengineer.mod V 0.1.1 by Juan Manuel Wehrli 1999
- */
-
-
- if ~show("L",rexxreqtools.library) then do
- call addlib("rexxreqtools.library",0,-30,0)
- end
- if ~show("L",rexxtricks.library) then do
- call addlib("rexxtricks.library",0,-30,0)
- end
-
- NL = '0a'x
-
- PARSE ARG befehl file
- OPTIONS RESULTS
-
- ADDRESS COMMAND
- if befehl = OPENNEW then do
- if ~show('P','IMAGEENGINEER') then do
- 'c:WBrun <>NIL: IE:IE'
- 'sys:rexxc/WaitForPort IMAGEENGINEER'
- end
- file = STRIP(file)
- ADDRESS IMAGEENGINEER
- IE_TO_FRONT
- OPEN file
- end
-
- if befehl = OPENNEWS then do
- if ~show('P','IMAGEENGINEER') then do
- 'c:WBrun <>NIL: IE:IE'
- 'sys:rexxc/WaitForPort IMAGEENGINEER'
- end
- ADDRESS IMAGEENGINEER
- IE_TO_FRONT
- file = STRIP(file)
- OPEN file
- end
- /*
- if befehl = MKHTMLPIC then do
- if ~show('P','IMAGEENGINEER') then do
- 'c:WBrun <>NIL: IE:IE'
- 'sys:rexxc/WaitForPort IMAGEENGINEER'
- end
- ADDRESS IMAGEENGINEER
- IE_TO_FRONT
- OPEN "t:htmlext/tmp.image.pic"
- aktproj = RESULT
- project_info aktproj WIDTH
- NewWidth=RESULT/10
- project_info aktproj HEIGHT
- NewHeight=RESULT/10
- SCALE aktproj NewWidth NewHeight BEST
- aktproj2 = RESULT
- 'SAVE_DATA' aktproj2 '"t:htmlext/tmp.image"' '"ILBM CmpByteRun1"'
- CLOSE aktproj
- CLOSE aktproj2
- ADDRESS COMMAND 'delete t:htmlext/tmp.image.pic >NIL:'
- exit
- end
- */
-
-